
function confirm_Alert(str,ok_callBack_method,cancal_callback_method){
    var index = layer.confirm();
    layer.confirm(str , {
        btn: ['确定','取消'] //按钮
    }, function(index){//确定
        ok_callBack_method(str);
        layer.close(index);
    }, function(index){//取消
        cancal_callback_method();
        layer.close(index);
    });
}

function confirm_Alert_param(str,ok_callBack_method,cancal_callback_method,strParam1,strparam2){
    var index = layer.confirm();
    layer.confirm(str , {
        btn: ['确定','取消'] //按钮
    }, function(index){//确定
        ok_callBack_method(strParam1);
        layer.close(index);
    }, function(index){//取消
        cancal_callback_method(strparam2);
        layer.close(index);
    });
}

function pz_Alert(str){
    layer.alert(str, {icon: 1});
}

function pz_Msg(str){
    layer.msg(str + "!");
}
